package com.cloud.service.impl;


import com.cloud.dao.T_resultDao;
import com.cloud.model.T_result;
import com.cloud.service.ResultService;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class ResultServiceImpl implements ResultService {

	protected static Logger LOGGER = LoggerFactory.getLogger(ResultServiceImpl.class);
	
	@Autowired
	private T_resultDao resultMapper;


	@Override
	public List<T_result> findAll(T_result result){
			List<T_result> list = resultMapper.findAll(result);
		return list;
	}
	@Override
	public int updateResult(T_result result){
		return resultMapper.updateResult(result);
	};

	@Override
	public int insert(T_result result){
		return resultMapper.insert(result);
	};
}
